package com.kingmed.kmss.common.dto.kmcs;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 耗材信息 查询条件
 */
@Data
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class KmcsConsumablesQueryDTO implements Serializable {

    @ApiModelProperty("页码（从1开始）")
    private String page;

    @ApiModelProperty("每页数量")
    private String pageSize;

    @ApiModelProperty("耗材信息")
    private SubQueryDTO query;

    @Data
    public static class SubQueryDTO {

        @ApiModelProperty("耗材编码")
        private String materialCode;

        @ApiModelProperty("耗材名称")
        private String materialName;
    }
}
